package com.swt.dao;


import com.swt.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * @author admin
 * @Classname UserMapper
 * @Version 1.0.0
 * @Date 2022/8/29 22:32
 */
public interface UserMapper {
    //获取全部查询用户
    List<User> getUserList();

    //根据ID查询用户
    User getUserSelectById(int id);

    //增加用户
    int addUser(User user);

    //修改用户
    int updateUser(User user);

    //删除用户
    int deleteUser(int id);


}
